<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../assets/img/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="../../assets/img/favicon-32.png">
<link rel="shortcut icon" href="../../assets/img/favicon-32.png">

<link rel="stylesheet" href="../../assets/css/vk.css"/>
<link rel="stylesheet" href="../../assets/css/prism.css"/>


<vk-title>VkResult | NVK</vk-title>

<vk-centered>

  <vk-navigation>
  <vk-search-title>Search</vk-search-title>
  <vk-search>
    <input type="text" id="search" autocomplete="off" />
    <vk-search-results>
      <ol id="search-list">
        <li id="no-search-results">No Results</li>
      </ol>
    </vk-search-results>
  </vk-search>
  <vk-section-title style="margin-top: 1em;">Categories</vk-section-title>
  <vk-categories></vk-categories>
</vk-navigation>


  <vk-struct>

    <vk-name>VkResult</vk-name>

    <vk-description>Vulkan command return codes</vk-description>

    <vk-section-title>Stub</vk-section-title>
    <vk-stub>
      <pre><code class="language-js">VkResult = {
  VK_SUCCESS: 0,
  VK_NOT_READY: 1,
  VK_TIMEOUT: 2,
  VK_EVENT_SET: 3,
  VK_EVENT_RESET: 4,
  VK_INCOMPLETE: 5,
  VK_ERROR_OUT_OF_HOST_MEMORY: -1,
  VK_ERROR_OUT_OF_DEVICE_MEMORY: -2,
  VK_ERROR_INITIALIZATION_FAILED: -3,
  VK_ERROR_DEVICE_LOST: -4,
  VK_ERROR_MEMORY_MAP_FAILED: -5,
  VK_ERROR_LAYER_NOT_PRESENT: -6,
  VK_ERROR_EXTENSION_NOT_PRESENT: -7,
  VK_ERROR_FEATURE_NOT_PRESENT: -8,
  VK_ERROR_INCOMPATIBLE_DRIVER: -9,
  VK_ERROR_TOO_MANY_OBJECTS: -10,
  VK_ERROR_FORMAT_NOT_SUPPORTED: -11,
  VK_ERROR_FRAGMENTED_POOL: -12,
  VK_ERROR_SURFACE_LOST_KHR: -1000000000,
  VK_ERROR_NATIVE_WINDOW_IN_USE_KHR: -1000000001,
  VK_SUBOPTIMAL_KHR: 1000001003,
  VK_ERROR_OUT_OF_DATE_KHR: -1000001004,
  VK_ERROR_INCOMPATIBLE_DISPLAY_KHR: -1000003001,
  VK_ERROR_VALIDATION_FAILED_EXT: -1000011001,
  VK_ERROR_INVALID_SHADER_NV: -1000012000,
  VK_ERROR_OUT_OF_POOL_MEMORY_KHR: VK_ERROR_OUT_OF_POOL_MEMORY,
  VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR: VK_ERROR_INVALID_EXTERNAL_HANDLE,
  VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: -1000158000,
  VK_ERROR_FRAGMENTATION_EXT: -1000161000,
  VK_ERROR_NOT_PERMITTED_EXT: -1000174001,
  VK_ERROR_INVALID_DEVICE_ADDRESS_EXT: -1000244000,
  VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: -1000255000
};</code></pre>
    </vk-stub>

    <vk-section-title>Properties</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_SUCCESS</vk-prototype-name></vk-property-prototype>
        <vk-property-description> Command successfully completed</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_NOT_READY</vk-prototype-name></vk-property-prototype>
        <vk-property-description> A fence or query has not yet completed</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_TIMEOUT</vk-prototype-name></vk-property-prototype>
        <vk-property-description> A wait operation has not completed in the specified time</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_EVENT_SET</vk-prototype-name></vk-property-prototype>
        <vk-property-description> An event is signaled</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_EVENT_RESET</vk-prototype-name></vk-property-prototype>
        <vk-property-description> An event is unsignaled</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_INCOMPLETE</vk-prototype-name></vk-property-prototype>
        <vk-property-description> A return array was too small for the result</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_OUT_OF_HOST_MEMORY</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_OUT_OF_DEVICE_MEMORY</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_INITIALIZATION_FAILED</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_DEVICE_LOST</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_MEMORY_MAP_FAILED</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_LAYER_NOT_PRESENT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_EXTENSION_NOT_PRESENT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_FEATURE_NOT_PRESENT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_INCOMPATIBLE_DRIVER</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_TOO_MANY_OBJECTS</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_FORMAT_NOT_SUPPORTED</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_FRAGMENTED_POOL</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_SURFACE_LOST_KHR</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_NATIVE_WINDOW_IN_USE_KHR</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_SUBOPTIMAL_KHR</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_OUT_OF_DATE_KHR</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_INCOMPATIBLE_DISPLAY_KHR</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_VALIDATION_FAILED_EXT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_INVALID_SHADER_NV</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_OUT_OF_POOL_MEMORY_KHR</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_FRAGMENTATION_EXT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_NOT_PERMITTED_EXT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_INVALID_DEVICE_ADDRESS_EXT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-prototype>VkResult.<vk-prototype-name>VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT</vk-prototype-name></vk-property-prototype>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      
    </vk-properties>

  </vk-struct>

</vk-centered>

<script>
const IS_ROOT = false;
</script>

<script type="text/javascript" src="../../assets/js/prism.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
